-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: use evm_rpc_types
in Rust E2E canister
#295
Conversation
evm_rpc_types
in Rust E2E canisterevm_rpc_types
in Rust E2E canister
evm_rpc_types
in Rust E2E canisterevm_rpc_types
in Rust E2E canister
#[cfg(target_arch = "wasm32")] | ||
const CANISTER_ID: Option<&str> = Some(std::env!( | ||
"CANISTER_ID_EVM_RPC_STAGING", | ||
"Unspecified canister ID environment variable" | ||
)); | ||
#[cfg(not(target_arch = "wasm32"))] | ||
const CANISTER_ID: Option<&str> = None; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This removes the environment variable error in the IDE and when running cargo test
, although maybe there is a nicer way to do this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR @rvanasa
14295c5
to
5710470
Compare
See #294 (comment).